package com.mingqijia.gassafety.webserver.service;

import com.mingqijia.gassafety.db.entity.vo.ScreenSmallBellItemVO;
import com.mingqijia.gassafety.shared.utils.commonUtils.PageUtil;
import com.mingqijia.gassafety.webserver.request.CustDetailRequest;
import com.mingqijia.gassafety.webserver.request.ScreenSmallBellListRequest;
import com.mingqijia.gassafety.webserver.response.*;

import java.util.List;
import java.util.Map;

public interface CockpitService {

    // 驾驶仓 客户信息
    ConsumerDetailResponse consumerDetailAsst(CustDetailRequest request);
    // 驾驶仓 客户信息
    ConsumerDetailResponse consumerDetailGas(CustDetailRequest request);

    EquipmentRunningResponse equipmentRunningInfo();

    List<OrderConditionResponse> orderCondition(String startTime, String endTime, int type);

    PrimaryDataResponse primaryData();

    //根据 客户的状态,决定展示哪些设备
    List<ConsumerEquipmentResponse> equipmentListByStatus(ConsumerResponse consumerResponse, List<ConsumerEquipmentResponse> equipmentVOList);
    //告警信息
    List<ConsumerDetailResponse> warningInfoAsst(Integer templateType,Integer applyStatus);
    //告警信息
    List<ConsumerDetailResponse> warningInfoGas(Integer templateType, Integer applyStatus, Integer dataType, String timeStart, String timeEnd);

    Map<String, Integer> getConditionSum();


    Object appealLog(String id);

    AlarmDtuSumResponse alarmDtuSum();

    PageUtil<ScreenSmallBellItemVO> getScreenSmallBellList(ScreenSmallBellListRequest request);
}

